<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Document sans nom</title>
<script src="/js/prototype.js" type="text/javascript" language="javascript"></script>
<script src="/js/front.js" type="text/javascript" language="javascript"></script>
<style type="text/css">
.box { float:left; }
</style>
</head>
<body>
<script language="javascript" type="text/javascript">
//Load.callItem(60210);
//Load.callCharacter('suramar', 'sykrog');
//Load.callCharacter('suramar', 'Ðæðåñøß');
//Load.callCharacter('Throk'Feroth', 'Viciousstab');
//Load.callCharacter('Throk'Feroth', 'faerion');

</script>
<blockquote>

Blizzard Missed :
<ul>
<li>lacks an identifier of an object enchanted randomly reforged</li>
<li>Socket bonus on item</li>
</ul>

Info/ToDo :
<ul>
<li>parse enchant EN for get stat</li>
<li>
parse if bonusSocket :
<pre>
Load.item[item_id].data.get('socketInfo').sockets[i].type == coulor slot;
Load.gems[Load.characters[slug].data.get('items')[slot].tooltipParams['gem'+i]].data.get('gemInfo').type == coulor gemme;<br>
sockets = {rouge:2, bleu:4, jaune:8};
gemmes = {rouge:2, violet:6, bleu:4, vert:12, jaune:8, orange:10};
(gemmes['vert'] & sockets['bleu']) == sockets['bleu'] // true
(gemmes['orange'] & sockets['jaune']) == sockets['jaune'] // true
(gemmes['vert'] & sockets['jaune']) == sockets['jaune'] // true
(gemmes['bleu'] & sockets['jaune']) == sockets['jaune'] // false
</pre>
</li>
</ul>
</blockquote>
<form id="searchCharacter" onSubmit="Front.Search.Character(this); return false;">
  <select type="text" name="regions"><option value="">------------</option></select>
  <select type="text" name="realms"><option value="">------------</option></select>
  <input type="text" name="cn" />
  <input type="submit" value="viens ici péon !" />
</form>
<button onClick="localStorage.clear()">clear localStorage</button>
<div id="characters-list">
</div>
</body>
</html>
